package org.jeecg.modules.home.monitoring.mapper;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.home.monitoring.entity.MonitoringMap;
import org.jeecg.modules.home.monitoring.entity.MonitoringPile;
import org.jeecg.modules.home.monitoring.entity.MonitoringStation;
import org.jeecg.modules.home.monitoring.vo.MonitoringMapReq;

import java.util.List;

public interface MonitoringMapper {
    /**
     * 车桩数
     * */
    Integer selectPileCount(@Param("stationIds") String[] stationIds);

    /**
     * 首页
     */
    List<MonitoringStation> homeList(MonitoringStation monitoringStation);
    List<MonitoringStation> homeListMap(MonitoringStation monitoringStation);
    /**
     * 根据网点id 查询在桩车数
     */
    int getVehicleCountByStationId(String stationId);

    /**
     * 根据网点id 查询桩详情
     */
    List<MonitoringPile> getPileByStationId(String stationId);

    List<MonitoringMap> homeMapList(MonitoringMapReq monitoringMapReq);

    /**
     * 首页视图查询
     */
    List<MonitoringStation> homeListView(MonitoringStation monitoringStation);
    /**
     * 首页地图视图查询
     *
     * @return*/
    List<MonitoringStation> homeListMapView(MonitoringStation monitoringStation);
}
